import { createApp } from "vue";
import "./assets/style/index.scss";
import App from "./App.vue";
import pinia from "./stores/index.js";
import router from "./router";
// 自定义指令
import directives from "./directives";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import "@/plugins/elementPlus/index.js";
const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}

app.use(pinia).use(router).use(directives).mount("#app");
